﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage2.master" AutoEventWireup="true" CodeFile="Register.aspx.cs" Inherits="Default4" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">


    <table style="width: 130%">
        <tr>
            <td colspan="3" style="text-align: left"><strong style="text-align: left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Register for Ez Park</strong></td>
        </tr>
        <tr>
            <td style="width: 165px">Name</td>
            <td>
                <asp:TextBox ID="TextBoxName" runat="server" Width="170px" OnTextChanged="TextBoxName_TextChanged"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBoxName" ErrorMessage="*" ForeColor="Red"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="width: 165px">NIC No.</td>
            <td>
                <asp:TextBox ID="TextBoxNIC" runat="server" Width="170px"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBoxNIC" ErrorMessage="*" ForeColor="Red"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="width: 165px">Address</td>
            <td>
                <asp:TextBox ID="TextBoxAddress" runat="server" Width="170px" OnTextChanged="TextBoxAddress_TextChanged"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 165px">Telephone</td>
            <td>
                <asp:TextBox ID="TextBoxTele" runat="server" Width="170px" OnTextChanged="TextBox8_TextChanged" TextMode="Phone"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="TextBoxTele" ErrorMessage="*" ForeColor="Red"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="width: 165px">Email Address</td>
            <td>
                <asp:TextBox ID="TextBoxEmail" runat="server" Width="170px" OnTextChanged="TextBox8_TextChanged" TextMode="Email"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="TextBoxEmail" ErrorMessage="*" ForeColor="Red"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TextBoxEmail" ErrorMessage="Please enter a valid Email Address" ForeColor="Red" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td style="width: 165px">Password</td>
            <td>
                <asp:TextBox ID="TextBoxPasswrd" runat="server" TextMode="Password" Width="170px"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="TextBoxPasswrd" ErrorMessage="*" ForeColor="Red"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="width: 165px">Confirm Password</td>
            <td>
                <asp:TextBox ID="TextBoxConPasswrd" runat="server" TextMode="Password" Width="170px"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="TextBoxConPasswrd" ErrorMessage="*" ForeColor="Red"></asp:RequiredFieldValidator>
            &nbsp;<asp:CompareValidator ID="CompareValidator2" runat="server" ControlToCompare="TextBoxPasswrd" ControlToValidate="TextBoxConPasswrd" ErrorMessage="Password should be same" ForeColor="Red"></asp:CompareValidator>
            </td>
        </tr>
        <tr>
            <td style="width: 165px">&nbsp;</td>
            <td>
                <asp:Button ID="Button3" runat="server" Height="25px" OnClick="Button3_Click" Text="Submit" Width="60px" />
                <br />
                <br />
                <asp:Button ID="Button2" runat="server" Text="Reset" Width="60px" OnClick="Button2_Click" Height="25px" />
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <asp:ValidationSummary DisplayMode="BulletList" EnableClientScript="false" ID="validation_sum" runat="server"  HeaderText="Errors list"  ValidationGroup="Register"/>

        <tr>
            <td style="height: 26px;" colspan="3">
                &nbsp;</td>
        </tr>
        
    </table>


</asp:Content>

